#ifndef _LOAD_CONTAINER_H_
#define _LOAD_CONTAINER_H_

#include <dlcom/cominc.h>
#include <dlcom/objectrun.hpp>
#include "msgproxy.h"

class CLoadContainer
{
public:
    CLoadContainer(LPCSTR name = "{409C8B8C-8467-47EE-B1BE-4E4112E64926}");
    virtual ~CLoadContainer();

public:
    int Init(LPSTRING path, LPCSTR code);
    int UnInit();
    int Start(UINT type);
    int Stop(UINT type, UINT exit);
    int Exit(UINT exit);

private:
    CContainer m_Container;
    CLSID m_appclsid;
};

#endif
